{load_language_text section="account"} {load_language_text section="downloads" name="downloads"} {load_language_text section="buttons" name="button"} {load_language_text section="general" name="general"} {load_language_text section="gift_cart" name="gift_cart"} {block name="account"} {block name="account_title"}

# {$txt.heading_account}

{/block} {block name="account_alert"} {include file="get_usermod:{$tpl_path}alert_message.html" message=$error_message type="danger"} {/block} {block name="account_welcome"}

{$txt.text_welcome}

{/block}
{block name="account_options"}
{block name="account_options_title"}

### {$txt.title_account}

{/block}

{block name="account_options_edit"}
- {$txt.text_edit}
{/block} {block name="account_options_address"}
- {$txt.text_address}
{/block} {block name="account_options_no_guest_if"} {if $NO_GUEST == 1} {block name="account_options_password"}
- {$txt.text_password}
{/block} {block name="account_options_delete"}
- {$txt.text_delete_account}
{/block} {/if} {/block} {block name="account_options_upload_if"} {if $CUSTOMER_UPLOAD == 1} {block name="account_options_upload"}
- {$txt.text_customer_upload}
{/block} {/if} {/block} {block name="account_options_newsletter_if"} {if $LINK_NEWSLETTER} {block name="account_options_newsletter"}
- {$txt.text_newsletter}
{/block} {/if} {/block} {block name="account_options_gift_cart_if"} {if $LINK_GIFT_CART} {block name="account_options_gift_cart"}
- {$gift_cart.box_send_to_friend_without_strong}
  {$gift_cart.current_balance} {$gvDepositCurrency}
{/block} {/if} {/block}

{/block}
{if $order_content} {block name="account_orders_title"}

### {$txt.title_orders}

{/block} {block name="account_orders"}

{block name="account_orders_thead"}
{block name="account_orders_thead_date"} {$txt.text_date|replace:":":""} {/block} {block name="account_orders_thead_nr"} | {$txt.order_nr|replace:":":""} {/block} {block name="account_orders_thead_status"} | {$txt.order_status|replace:":":""} {/block} {block name="account_orders_thead_total"} | {$txt.order_total|replace:":":""} {/block} {block name="account_orders_thead_download"} | {/block} {block name="account_orders_thead_show"} | {/block}
--- | --- | --- | --- | --- | ---
{/block} {block name="account_orders_tbody"}
{foreach name=aussen item=order_data from=$order_content}
{block name="account_orders_tbody_date"} {$order_data.ORDER_DATE} {/block} {block name="account_orders_tbody_nr"} | {$order_data.ORDER_ID} {/block} {block name="account_orders_tbody_status"} | {$order_data.ORDER_STATUS} {/block} {block name="account_orders_tbody_total"} | {$order_data.ORDER_TOTAL} {/block} {block name="account_orders_tbody_download"} | {block name="account_orders_downloads_if"} {if $order_data.downloads_data} {block name="account_orders_downloads"} {foreach name=innen item=download_data from=$order_data.downloads_data} {block name="account_orders_download"} {if $download_data.DELAY_MESSAGE == ''} {block name="account_orders_download_delay"} {$download_data.PRODUCTS_NAME} {/block} {else} {block name="account_orders_download_no_delay"} {$download_data.PRODUCTS_NAME} {/block} {/if} {if $download_data.DELAY_MESSAGE == ''} {block name="account_orders_download_info"} {$downloads.text_download_count} {$download_data.COUNT} {$downloads.text_download_date} {$download_data.DATE_SHORT} {/block} {/if} {if $download_data.DELAY_MESSAGE != ''} {block name="account_orders_download_delay_message"} {$download_data.DELAY_MESSAGE} {/block} {elseif $download_data.LINK != '' && $download_data.COUNT > 0} {block name="account_orders_download_link"} {$button.download} {/block} {/if} {/block} {/foreach} {/block} {else} {block name="account_orders_no_downloads"} {/block} {/if} {/block} {/block} {block name="account_orders_tbody_show"} | {$button.show} {/block}
{/foreach}
{/block}

{/block} {block name="account_orders_show_all"}
{block name="account_orders_show_all_link"} {$general.SHOW_ALL} {/block}
{/block} {/if} {block name="account_product_history_if"} {if $products_history} {block name="account_product_history"}
{block name="account_product_history_title"}

### {$txt.title_viewed_products}

{/block} {block name="account_product_history_listing"} {$products_history} {/block}
{/block} {/if} {/block} {/block}